package model.technology;
import model.player.UnitManager;
import java.util.*;

public class UnitOffensiveDamageNode extends UnitTechnologyTreeNode 
{
	
	public UnitOffensiveDamageNode(UnitManager unitManager)
	{
		setUnitManager(unitManager);
		setTechnology("OffensiveDamage");
		setTechnologyLevel(0);
		setMaxTechnologyLevel(2);
		setChildren(new ArrayList<TechnologyTreeNode>());
	}
	
	public void upgradeStat()
	{
		incrementTechnologyLevel(1);
		getUnitManager().upgradeAttackStat();
	}
	
	public String toString()
	{
		return "Unit OffensiveDamage Node";
	}
}